package com.ciwong.epaper.widget;

import android.content.Context;
import android.util.AttributeSet;

import com.ciwong.epaper.modules.me.bean.FunctionsBean;


/**
 * Created by keepon on 2018/8/7.
 */
public class FunctionItemInView extends BaseNewBookItemInView<FunctionsBean> {


	public FunctionItemInView(Context context) {
		super(context);
	}
	public FunctionItemInView(Context context, AttributeSet attrs) {
		super(context, attrs,0);
	}

	@Override
	public void bindData(FunctionsBean bean) {
		mIvIcon.setImageResource(bean.getIconRec());
		mTvName.setText(bean.getItemName());
	}
}
